package com.dianjing.dianqun.model;

import com.alibaba.fastjson.annotation.JSONField;

public class Channel implements java.io.Serializable {
	private static final long serialVersionUID = 1L;

	private Integer channelId; //

	@JSONField(serialize = false)
	private Integer modelId; // 模型ID

	private Integer siteId; // 站点ID

	@JSONField(serialize = false)
	private Integer parentId; // 父栏目ID

	@JSONField(serialize = false)
	private String channelPath; // 访问路径

	@JSONField(serialize = false)
	private Integer lft; // 树左边(
	@JSONField(serialize = false)
	private Integer rgt; // 树右边

	private Integer priority; // 排列顺序

	private Boolean hasContent; // 是否有内容

	private Boolean isDisplay; // 是否显示

	private Integer isDefault; // 文章分类是否为默认分类0：不是默认分类1：为默认分类

	private ChannelExt channelExt; // 扩展对象

	public Integer getChannelId() {
		return channelId;
	}

	public void setChannelId(Integer channelId) {
		this.channelId = channelId;
	}

	public Integer getModelId() {
		return modelId;
	}

	public void setModelId(Integer modelId) {
		this.modelId = modelId;
	}

	public Integer getSiteId() {
		return siteId;
	}

	public void setSiteId(Integer siteId) {
		this.siteId = siteId;
	}

	public Integer getParentId() {
		return parentId;
	}

	public void setParentId(Integer parentId) {
		this.parentId = parentId;
	}

	public String getChannelPath() {
		return channelPath;
	}

	public void setChannelPath(String channelPath) {
		this.channelPath = channelPath == null ? null : channelPath.trim();
	}

	public Integer getLft() {
		return lft;
	}

	public void setLft(Integer lft) {
		this.lft = lft;
	}

	public Integer getRgt() {
		return rgt;
	}

	public void setRgt(Integer rgt) {
		this.rgt = rgt;
	}

	public Integer getPriority() {
		return priority;
	}

	public void setPriority(Integer priority) {
		this.priority = priority;
	}

	public Boolean getHasContent() {
		return hasContent;
	}

	public void setHasContent(Boolean hasContent) {
		this.hasContent = hasContent;
	}

	public Boolean getIsDisplay() {
		return isDisplay;
	}

	public void setIsDisplay(Boolean isDisplay) {
		this.isDisplay = isDisplay;
	}

	public Integer getIsDefault() {
		return isDefault;
	}

	public void setIsDefault(Integer isDefault) {
		this.isDefault = isDefault;
	}

	public ChannelExt getChannelExt() {
		return channelExt;
	}

	public void setChannelExt(ChannelExt channelExt) {
		this.channelExt = channelExt;
	}
}